Added unit tests for the fileName field.
Bugfix: file names were not lowercased
More unit tests for the fileNames feature