Added test to PagesController.