adding unit test for ht-merge