`assertRaisesRegexp` is a more convenient way to test the message text.