write basis for integration test