Fix next button tests in CursorOperationsTests