`shorten_fname`: Clean up unit tests
`shorten_fname1`: Add unit tests