Improve test method and test case searching