Add cursor operations tests