Currently tests here use node's assertion library. Tests usually use Chai's should and expect interface. Please do try to use should: https://www.chaijs.com/guide/styles/#should the use of `assert` is clever, but if a chai assertion doesn't throw the mocha reporter might not see it. So use chai to assert on the error from the server.