Added test for scaling all-zeros 1D arrays.