Updated test's expected error message.