LPS-51062 added nulls into the toXxxArray tests