Wrote MaterialManager.edit_material_definition_module() tests.