MODE-1786
unit test to reproduce bug