[Mac] Add tests for secure event input