Get rid of flash in tests.