Spec test return a proper exit code.