Mass update tests to use callAPIFailure