add tests for freeing memory with a reallocation of size zero

update names of internal simple_clone funcs to shallow_clone funcs - relates to #780

(0) -1000 -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial