add comments for task rotation
tests for task rotation