fix formatNumber tests