Collect annotations for JUnit3 test methods.

Collect annotations for JUnit3 test methods.

Necessary to support test filtering by annotation.