fix functional test since we changed error message