Add an integration test for cubature.