added integration test
added integration test