Add checks for success to TEST_LOOKUP