test for attributes set on the model correctly in patch save