added tests for partial function capability and tests for java array creation