Sanity tests for MATLAB's handling of Java data types.