Fixed trigger
Changed from keyMappings to keys, added testcase for up/down events