use apisuccess & failure to clarify errors
Merge pull request #988 from eileenmcnaughton/apitests

use apisuccess & failure to clarify errors