Updating setmetadata test to honor the new "auto" argument