Added unit tests for Keyboard.