Unit test Sample and Sample.getDoubleData fix