Added cursor reset test