Cleaned up accelerometer and wrote accelerometer tests.
Cleaned up Bump and added Bump tests.