minor fix for gamepad-tests.ts

gamepad-tests.ts fails and I fixed the minor defect. Sorry.