while test use new implementation