Testing ios device rotate