added keyboard key press tests