test wrapped transactions with java, too