Simple sample test script for accelerometer on mobile devices