Add new testcase for rotated PDF pages