Make a few mpl tests more lenient

Fixes #179.
force agg backend in tests

Should remove mpl warning messages for OS X users. Thanks @antgonza for letting me use your laptop to test this!
Merge pull request #181 from ElBrogrammer/issue-179

Pulled branch, tested, looks good