Testing for mongodb versions (findAndUpdate)