minor refactoring
Changed junit artifact by junit-dep, added hamcrest artifact.
added test method testCallMultiThread