getPage method test