Check rotated pdf is still pdf