Fix test failure due to error message change.