fix failing test
refine logic that adds @Test annotation automatically