Write tests to ensure that chunked processing still works