TEST: Modify the test case for next/previous