buggy testcase result merge function added