Fixed cursor tests.