r577: extended the LookupNames test to check for correct handling of unmapped names