Fixes #237

Sorry for typo in commit message
Please, make sure that after this test is executed, ``os.environ['DISPLAY']`` is set to whatever it was set previously.