Issue #1696172 by fgm, tim.plunkett: Add unit tests for complex deep array merge cases.