Add unit tests for FileUtils.hasExtension(File, String)