adds test for api base request