Add failing tests for java array integration