Add test if quantities work with matplotlib

This adds a test if quantities work with matplotlib (see issue #1881).

On my Mac this leads to `python setup.py test -P units` simply aborting without giving an error message.
So I presume this is not the right way to add this test?

cc @mdboom @astrofrog