Added statistics tests.