Add {} to one-line functions and add a test case for lookup where no match is found.