unit tests for ModuleStatus