wrote assert and assert.ok test