test gravity sensor