git test case if matplotlib is missing