Added test code to verify list_sorted_merge API.