Added some tests for the Accelerometer and Gyroscope classes.