add test of copying model params