Fixed Issue #171 - Changed test assertions to conform to duck-typing con...

...vention
This alone isn't duck typing - you also need to check to see if `socketPackage.socket` contains the methods it is supposed to have.