AP_InertialSensor:  fix LSM9DS0 test code