Better error checking on partial fractions test.