Updated test_cubature