added integration test for api