Graphical editor test in Ruby