Unit test for FileUtil.java