Yes. In most circumstances, tests shouldn't be *too* concerned with exception messages, as it's hardly a change in behaviour if the text changes.

For a single test like this one, it's not a big deal, but if you have many tests like this, it can lead to a maintenance overhead.