Add test case for Keyboard functions