Improved testing of name analysis