Test case for g_type_add_interface_check().