draft of integration test