Basic test with CodeGen.