Fix bug in ChunkList.toArray when empty. Apply all tests to reversed list (checks logic for backwards iteration).