Fix test_partsig's invalid result for the equals test