tests.py no longer uses matplotlib