Add test dependencies.
Add source and target java version.