Add missing tests for pages controller
Merge pull request #175 from ck3g/pages-controller-tests

Add missing tests for pages controller