Added a verification to confirm that DBObject restored back is same as original object that was persisted.