Fix tests for iter_content