[test][util] add a few more test cases for calculation type
[util][calculation type] when calculation type is passed, make sure
that the defined calculation type is at least as precise as the
default integral and floating point calculation types passed