Small renaming in error message so that API test pass