restore the reading of the old random number in mongo update test

I mistakenly removed this var since it wasn't being used. Per the requirement it must be read so I added some comments/docs to prevent someone else from accidentally removing it in the future.