added integration test, simplified format