Test case for snmp