use assert.equal where appropriate