Fixing test

Used the wrong property for formatNumber that truncates the fraction.