Strange behavior in MDD reduce, investigating with added tests.

May still need more work.