added test for merging
added small update (in example)