Testing accelerometer crash detection