Adding test for Accelerometer API