test case improvement for IOUtils.getAppropriatedType