Added upsert to Collection mock