fix exit code evaluation in fsc tests