Test rotating an invalid pdf