copying java config setup to java-test project