Working on device test using accelerometer