`assert.equal(err.code, 400)` here and below