First unit test for node using sinon.js

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
First production class test.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
Proper mocha tests that call it() and done()

Signed-off-by: OwenPatey <owen_patey@hotmail.com>
First TDD test - initialisePublisher should attach a connection handler to the server.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>