Better solution know to the problem of the output
Merge pull request #265 from Zentyal/jjgarcia/improving-test-script

Better solution now to the problem of the output