listen for invalid, not error
use number of assertions, not another var
Merge pull request #3378 from robrobbins/patch-collection-test

Collection spec is listening for "error", when it should be "invalid"