Cost calculation for individual tests