Fix Flag Test