Added a function to get names out of the truenames index, and its test.