test to see if accelometer works