wrote stats tester for corpus