[fix]: Adjust test to match the updated error message