Add keycode tests