#27 #71 added test algorithm (basic  statistic) that takes FileInputGenerators as input