Expand the changes test to include document