added unit testing for TextImporter.java