Fixing xtype_test to use the test harness infrastructure