Testing code for pulling accelerometer values.