Fixing resources for registry test cases.
Fixing examples in registry test cases.