Use toMatch instead of = to compare exception messages