[Olena-patches] milena r1156: Add test of rotation and fix