Added keypress tests