Added some tests for PageTypeController