Update ktbtest's stubs for api_handleCommand() and api_handleKeyEvent(). (dm)