fix flapping stats test