Skip tests if matplotlib is not present