calculate test