Refactor merge lists test