Added tests for PageGenerator