tests: add testcase for automatic includes