use KeyStrokes in test