Fix broken test due to error message.