MATH-867 Unit test showing the problem. It is disabled (with the "@Ignore" annotation) because it fails with the current code.