Fix test suite. Closes: #9

The schema message needs to use the same type
as the exception when comparing the string.