[tests] fix stats tests