added test for accelerometer changes