DATAGRAPH-368 Add test demonstrating the issue.