added unittests for model
merging