Capture error on unittests
BUGFIX : return ensure to get version number
BUGFIX : pass the :ensure value given by parsing line