Enabled test isOnKeyboard function. Will implement my version tomorrow.