Added test, malloc + memset.

This test sets the malloc'ed memory to zero with memset. This is equivalent
(in terms of the expected outcome) to calloc().