Added integration test
Updated docs