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

Trailing space before closing `'`.