[composer] Add tests for item rotation