add successflag for each test iteration