integration test works