Shell tests improvement
Hi @sebastien.petitdemange and @pithan
I propose the following modifications to avoid to monitor ourselves the threads started by prompt-toolkit
(no need for the wait loop anymore).
Please tell if you agree to merge those changes