MODE-1810 - Added test cases which show that the problem cannot be reproduced

The pull request should be merged in 3.1.x and cherry-picked in master.