tests added for registry cache