gtk+: add test harness plus basic tests