-added integration test