Updated keyboard unit test