SERVER-6399 Fix update_serOnInsert.js test under new update framework.
SERVER-6399 Fix upsert logic when the collection is not empty.