Added statistics tests