add keyEvent test helper to the test jshintrc