Rotor functioning and basic JUnit test functionality