changed unnecessary calloc() to malloc() in ip4 test