Add initial values to prevent unit test from crashing due to numerical i...

...naccuracy.

(cherry picked from commit 1ac96c68080966d0dfe488c19ae0c30c063cf2be)