adding unit tests for file chunking