Fix the partialfrac tests
Fix the partialfrac tests

abs is not enough to sort the items, since there are conjugate pairs. Also, we
have to use im, re instead of re, im because of some bug in SymPy.

ergs/transmutagen,ergs/transmutagen