Tests fix, pydotprint and Better error message.

no news.
This test should be skipped if dot/pydot is not installed