add a test for #73
reduce test for #73 to minimal repro; fix #73, general error with converting internal list to array when the array is null