finish testing merge_sorted_array