adds an integration test