bugfix for tests on server systems without display (TclError: no display name and no $DISPLAY environment variable)
doctest bugfix again for systems without any display