Fix DoubleArray tests
Created by: agirault
Corrects typo returning wrong value at the end of
It is now returning 0 if the DoubleArray is empty. This is not a usual behavior as we should allow reading an empty node, but we are doing this for backward compatibility .
This fixes those two failing tests: