Fixed error message to match tests.