Added test for PageTypeController and implemented code to update PageModuleTypes in service