Add a new testcase for memory corruption issues.