Chore/specs and factories

In commit b24970c, changed syntax from '.to be_invalid' to '.to_not be_valid'