Revamped cursor mode test.