Small source cleanup in RotorFactory
Added Tests for RotorFactory