Add support for class level @Test annotation in TestNG

TestNG test classes with @Test annotation on class level only was treated as JUnit test classes and not executed.

I added also two more tests to check that maxing class and method level @Test annotation also works.