added unit test to debug #1: Filenames of exactly 26 characters get scrambled

I'm kinda stuck as I don't know how to get the long filename from the Directory object.