Rearranged 3 JUnit test cases