New test interface

Consider inverting these two lines, giving:
```javascript
obj = obj[parts[i]];
if (obj === void 0)
  return false;
```