Also, actually, I think for the test it's fine if it just checks that the exception was raised and that the message of the exception doesn't compare exactly word for word.