tests.jl: Stock is not defined for Gtk3

It's unclear that this is the right fix, actually.  `GTK_STOCK_CANCEL` and `GTK_STOCK_OK` are defined for Gtk2, but it's not clear to me if they're also available as `Stock.CANCEL` and `Stock.OK`.