Statistics tests and clean