Fixed test in resource registry
Merge pull request #1936 from mmeisinger/fix_test_r2

Fixed test in resource registry