Fixed the code bug "undefined chunk_size"
Improved test case.
Merge pull request #14 from brian-zhao-bex/error-handle

Fixed the code bug "undefined chunk_size"