NEXUS-5828: Resource and UT update

As now the fact of missing Realm is revealed
(before, injected map was simply empty), some UTs
needed to be changed, to extend propared support
class.