test while.