Fix GUI tests.
Fixed test
Merge pull request #368 from angathorion/tests-fix

Fix GUI tests.