test for enter keyDown handler