Fix GUI tests.

edit 1