Added test for merge/mergeN termination in case of one process is drained