Add recursive reference test
Merge pull request #1 from tsertkov/develop

Add recursive reference test