mocked all scnearios from api test