DATACMNS-442 - Added test case to show that id resolution succeeds for intermediate repositories.

Adapted test case failing on Spring 4 due to eager RepositoryMetadata resolution.