fix stats test