add a test to check for invalid file names

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>