Test instantiation of interface extending Map and some other interface
Refactored resolving Map and Collection to specific types