Added a test for file name generator