Convert a CodeGen test into a MC test.