such shareholder’s pro rata share of the tested loss of each controlled foreign corporation with respect to which such shareholder is a United States shareholder for such taxable year of such United States shareholder (determined for each taxable year of such controlled foreign corporation which ends in or with such taxable year of such United States shareholder). (2) Tested income