unit tests for matplotlib graphics from statsmodels