Moved  testModes() code from the TestMotor class to the TestBitfields class because modes test didn't have a direct relationship with the Motor Tests