Fix build errors
Extend a little the gtktest example