test_flushes fixed