Fixed #1061 failure in snippet unit tests due to the instability of np.sum for array with many small floating point numbers
#1080
+200
−38