Added test for saving chunks.