The same logic is in `test/core.js` line 147. Can you update that as well?