added tests for merge_list