close the test flag