Fix comparison for min time before doing an update stats and set small min in test
Set frequency for stats update to 0 for testing