added upsert tests for FetchOneThenReplace and FetchOneThenUpdate.
added ReplaceOne.