fix byte-format a bug:if number larger than 1024 YB, the result will be like xxxxx.xx undefined

if number larger than 1024 YB, the result will be like xxxxx.xx undefined

also add a unit test for byte format.