def test_merge_by_index(self):

        schema = {
                'mergeStrategy': 'arrayMergeByIndex'
        }

        base = [ {'a': 0 }, {'b': 1} ]
        head = [ {'c': 2 }, {'d': 3} ]

        result = jsonmerge.merge(base, head, schema)

        self.assertEqual(result, [ {'a': 0, 'c': 2}, {'b': 1, 'd': 3} ])