Tests: add tests for chaining from merge