Update test to avoid using Model.dup