Test the GetName method.