Testing formatValue