SNMP| Add a test performing the checks

Also fix a bug detected by a test