tests for arity and containsWith. closes #650, closes #651

Let's use `assert.strictEqual` here and elsewhere so we get a more useful error message if an assertion fails.