adds integration tests