Writing tests for FileUtil