Add test case for MONDRIAN-939

This is fixed.
Might be related to MONDRIAN-1280