test for distcalc