Fix for #1137: spread tuples accross parameters to Java methods
Test for #1137: spread tuples accross parameters to Java methods