Improvements in the tests, lookup error