Add helper function zero_malloc for tests
2 files changed