Fixed unit test of class 'FileToGraphic'.