Perhaps we could check the error with AssertRaisesRegexp?