add rotation count test to motor unit