Added Freq and FreqTests classes.