SinaZ/NischayM Added onAccelerometer tests etc.
merge fix