add test for post merging processor
converted monolithic post-merging processor into separate components