use t.equal instead of t.ok