Add keypress tests