added test for pages