[#55883844] Add test for rotator

Rotator was getting more complex with this added feature so I added some
tests to prove the expected behavior.