Use permCachedLoader in tests.