correcting chunk free bug in tests