using assert.ok for test assertions