test a malloc implementation