correctly generate tests by method/path