Start writing unit tests

* [x] Tests setup (Mocha+Browser+Travis)
* [x] Moch daybed server requests
* [x] Basic tests for expected requests and responses
responseText is the raw stuff