Make saxo test return an appropriate exit code