Test integral calculations ok