Add a test to check merging of multiple calls