it looks like you took out the last two lines of this test?
```
assert.throws(() => r.dataSource(d2), Error);
svg.remove();
```
?