Test upsert with no primary key