The assertion is contain, not contains.

It took my longer than it should have to figure this one out.