New while test. I am really ashamed of what I pushed before. But
indentation works funny...