nit: you an use `assert.isDefined`, or simpler `assert.ok`.