Add unit test for MergeSort