Tests fix, pydotprint and Better error message.

no news.
Fixed. Thanks.