tests: also drop g_type_init() here

This is deprecated since glib-2.36.