upgraded usage of JUnit