Fix unittests

The script used was wrong in that it used break, which would work locally but the way travis do it make it exit with a success code even if the build failed (seen that reading the unittest logs).
This -hopefully- will fix the failing unittest & the script.