fixed tests via keyboard events mock