minor fixes to DeviceProviderTest

Change-Id: I381b85beced2bdca2029700dacd95c9b792d15df
diff --git a/providers/openflow/device/src/test/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProviderTest.java b/providers/openflow/device/src/test/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProviderTest.java
index 296ae2b..c25ba8d 100644
--- a/providers/openflow/device/src/test/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProviderTest.java
+++ b/providers/openflow/device/src/test/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProviderTest.java
@@ -115,6 +115,7 @@
                 .setDesc(PD3)
                 .build();
         controller.listener.portChanged(DPID1, stat);
+        assertNotNull("never went throught the provider service", registry.descr);
         assertEquals("port status unhandled", 3, registry.ports.get(DID1).size());
     }
 
@@ -129,6 +130,7 @@
         DeviceProvider provider;
         Set<DeviceId> connected = new HashSet<DeviceId>();
         Multimap<DeviceId, PortDescription> ports = HashMultimap.create();
+        PortDescription descr = null;
 
         @Override
         public DeviceProviderService register(DeviceProvider provider) {
@@ -175,9 +177,8 @@
             @Override
             public void portStatusChanged(DeviceId deviceId,
                     PortDescription portDescription) {
-                System.err.println(deviceId + ":" + portDescription.toString());
-
-                System.err.println(ports.put(deviceId, portDescription));
+                ports.put(deviceId, portDescription);
+                descr = portDescription;
             }
 
         }