Update error message in tests.