keyboard event variant with preventDefault
typo on scan test