Fix a bug in spfreechain01 test case.