add test for DoubleArray node iteration.
add test code.