ShiftTest.java modified.