Added a testing script for the cubature functions.