Add stub of PagesService with test.