Perhaps `assert.equal` would be more idiomatic here and elsewhere?