added an API test #2809