fix test_chunking