Added while test