mend test case