Added a Pages controller
removed redundant test
Cleaning up