~ fix + added test for merging primitives