nit: please use `assert.isTrue` and `assert.isFalse`