1. add unit test
2. fix byte-format a bug:if number larger than 1024 YB, the result will be
like xxxxx.xx undefined
1. use if to manage suffix number.
1. adjust code style
Merge pull request #106 from caoglish/master

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