Add memory leak unit test for SNMP.