Added beginning of statsrepotest