Test case for merging two trees.
 - Check merged structure
 - Check values (ids of each word)
Implemented creating a group tree structure.
Checked with k=1.