Sorry for the delayed reply. For accelerometer, using gravity is definitely the easiest. For gyroscope data, you can easily test the static case. When not moving -> 0dps. To test in motion you need a rate table. Testing the magnetometer is more tricky, typically done with 3 Helmholtz coils to generate a known magnetic field.
... View more