gdk3 test: use setter= method
gdk3 test: move Cairo::Context.new to setup
gdk3 test: reduce scope instance variable

`output` and `surface` are only used in setup.