FLUID-4986: Added more tests to support complex nested resolvable references.
Merge remote-tracking branch 'yura/FLUID-4986' into FLUID-4907