Fixed test in witch the mock flusher was causing it to fail sometimes