work in progress
add a test for getPageURL