test: add diagnostic message to net_registry test.