Simplified code for JarInspectorTest and CommonTestFunctions
Created method FilesHelper.hasExtension(String). Added some javadocs.