Updated Java test resources. Fix JAR packaging.