Check if malloc() succeeded.
Add DNAT test case.