add mergesort test cases