Unit test __gf_malloc