add test_malloc
Merge pull request #8 from benpicco/master

add test_malloc