Add new 'jni' test case to ensure this works
This allows the output fields of any command to contain nul characters, which paves the way for extracting a manifest or other binary data directly instead of having to write it into a temporary file.