change rootDir*.getname to rootDir*.getAbsoultePath so test
directories will be deleted after tests finished.
fix amend commit confilcts