Abstract away test case annotation parsing