test(core): add unit tests for merge trait
#1738
+119
−0
Merged
merge trait
#1738