We don't need to have a special gimprc because of it.
Use g_test_add_func() and g_test_add_data_func().