Added methods to get test methods for both JUnit 3 and 4