Fake key events for testing purposes.