ESDEV-1074 Write test cases for module deactivation; extensions check