fixed integration testing issues for api billing requirements