TEST: test function should now return a tuple with status, output and results.
TEST: test function should now return a tuple with status, output and results.

Former-commit-id: 09634e5cf7a38000db3b8ccb61655d5f88885c2e
Former-commit-id: 2cc681fe5462cb2f5aae091d79c05dba43090180
3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox,3324fr/spinalcordtoolbox