Testing keyboard input and rotation