Simple test of accelerometer and sound generation