Test for calloc function.