Added basic tests to zmq.Socket

Right now they were just copy/pasted from core api, with minor changes.
There are a better way to test, avoiding this duplication?