updated PagesControllerTest