add g_type_init call to make sure tests will pass on older systems.