tests: Add tests for test_malloc() and test_realloc().

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2 files changed