Repair test
Refractor usage of getPageDims