Modify testread example to loop using same context.