testing rotate methods