folding test - better lookup of resources