Updated a JUnit test case.