test(core): add test for event constants
test(core): add test for input directive, check that events are handled correctly