Adds unit test for ModuleManager duplicate service hotfix.