Fix for array-to-List conversion when the array is of primitive type. Also some more tests of array-to-List conversions.