refactorings on build.xml and junit lib