fix bug that block DoubleArray node iteration.
fix bug that block DoubleArray node iteration.
add test for DoubleArray node iteration.
add test code.