made test mode
added joystick init before test