WhenKeyActionTest