cleanup testcases: moved testcases from #3888 into allocfunc13 which contains similar testcases already.