added this assert to an existing test to ensure that the message is "invalid" and not "is invalid and is invalid"