Remove deprecated g_type_init() in test-agent