[composer] Fix failing rotation tests