extending keymapping and keytest