Removing AssertionError constructor call from test class to make it
compatible with java 1.6