class AKeyboard and test_keyboard