Refactor to share the lookup code
Moar tests
format
Add confusing test
Run all with tests with unscopables turned on