add merge sort and test case