Tests for _createChunks