Tests for the merge code.