I think the problem with tests lies here since chord c has already been added at line 4472. By commenting this line (4479) the musicxml I/O tests pass.