Attempt to fix some failing tests
Fix the PDF core fonts test
Clear rcParams better
Fix tolerance on rasterize test
Merge pull request #2367 from mdboom/fix-failing-tests

Fix a number of long-failing tests.