added test for joystick