fix tests to pass even if pandas is not installed