Improved a test
Added a check on the installation of matplotlib