Fix flash test