Add annotation for test class pattern
Add test fragment handling