Added support for set number of test rotations

Code constant setting will run the test for a set number of rotations,
then stop.  This was done to allow for periodic greasing of the sensor
to emulate around 1 year's worth of spreading and annual greasing of the
sensor.