test rotating index images