Test for HTML5 accelerometer