MODE-1865 Test case to show non deterministic query results.

This is just the test case, no fix is given.