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