fixed warning in integral test