Test throw if `path` can't be found in `obj`

This PR needs #6. So merge that first. 
I just doesn't want to mix the lint cleanup and test adding.