For Junit 4 and TestNG 6