port Page.getParent to using bluebird, speed up tests