Remove use of cursorInfo in tests for versions > 2.6