Fixed the testAssertModuleEnabled test