function testAddScalarToStruct()
 {
     $v = new xmlrpcval(array('a' => 'b'), 'struct');
     // use @ operator in case error_log gets on screen
     $r = @$v->addscalar('c');
     $this->assertEquals(0, $r);
 }