old_contents: 
  import _10gen
  
  db = _10gen.connect( "test" );
  t = db.pydb3;
  t.drop();
  
  orig= { "name" : "a" , "things" : [ 1 , 2 ] };
  _10gen.assert.eq( 2 , len( orig["things"] ) );
  
  orig["things"].append( 3 );
  _10gen.assert.eq( 3 , len( orig["things"] ) );
  
  t.save( orig );
  after = t.findOne();
  
  _10gen.assert.eq( 3 , len( after["things"] ) );
  
  
  after["things"].append( 4 );
  _10gen.assert.eq( 4 , len( after["things"] ) );
  
  after['things'][1] = 9
  
  _10gen.assert.eq( sum(after['things']), 17 )
  
  _10gen.assert.eq( str(after['things']), str([1.0, 9, 3.0, 4]) )
  _10gen.assert.eq( repr(after['things']), repr([1.0, 9, 3.0, 4]) )
  
new_contents: 
  import _10gen
  
  db = _10gen.connect( "test" );
  t = db.pydb3;
  t.drop();
  
  orig= { "name" : "a" , "things" : [ 1 , 2 ] };
  _10gen.assert.eq( 2 , len( orig["things"] ) );
  
  orig["things"].append( 3.1 );
  _10gen.assert.eq( 3 , len( orig["things"] ) );
  
  t.save( orig );
  after = t.findOne();
  
  _10gen.assert.eq( 3 , len( after["things"] ) );
  
  
  after["things"].append( 4 );
  _10gen.assert.eq( 4 , len( after["things"] ) );
  
  after['things'][1] = 9
  
  _10gen.assert.eq( sum(after['things']), 17.1 )
  
  _10gen.assert.eq( str(after['things']), str([1, 9, 3.1, 4]) )
  _10gen.assert.eq( repr(after['things']), repr([1, 9, 3.1, 4]) )
  
subject: fix test