Added preliminary tests and actions for PagesController