Add dev dependency on sinon-chai 2.3.x
Tweak presence_api_test to use sinon-chai
Add explicit sinon dev dependency
WIP
Get tests passing again after rebase
Add basic tests for _configureWebSocketServer
Implement some basic spy/stub-based unit tests
Renamed httpServer to stubHttpServer for clarity
Hoist httpUpgradeHandler out of _configureWebSocketServer to improve modularity/testability
Fix jshint issue
Workaround test warning caused by Sinon not supporting Object.defineProperty
Remove non-determinism by switching from sinon-chai to regular Sinon asserts and from stubbing whole objects to individual methods
Fix errant chars in comment
Merge pull request #50 from dmose/sinon-basic

Basic implementation of real unit tests using sinon