fixed pnetc.net erroring if update was run before connecting
+added test class and test for PNetC.Net