add auto-tests in build.xml
rebase sources files