Fix hint tests (keydown -> keypress)