testing ResultAccumulator with threshold
update tests