add ManageFlagTest.php