SI-3943 Test case for already-fixed Java interop bug

Confirmed that this was fixed in edee27f59.
Merge pull request #2534 from retronym/ticket/3943

SI-3943 Test case for already-fixed Java interop bug