Rework the changeset helper tests to use factories.