Move testcase to the code gen directory.