Fixed broken flash tests