add do-while test