These three lines can be written more tersely as:
```javascript
test.strictEqual(key, 0, 'expected del');
```
As it is, this will not throw if `key !== 0`, so you're relying on the test.expect to be given the correct number.