of the tests under such regulations for determining if business activities constitute significant domestic business activities for purposes of this paragraph. . (b) Conforming amendments (1) Clause (i) of section 7874(a)(2)(B) of such Code is amended by striking after March 4, 2003, and inserting after March 4, 2003, and before May 9, 2014, . (2) Subsection (c) of section 7874 of such Code is amended— (A) in paragraph (2)— (i) by striking subsection (a)(2)(B)(ii) and inserting subsections (a)(2)(B)(ii) and (b)(2)(B)(i) , and (ii) by inserting or (b)(2)(A) after (a)(2)(B)(i) in subparagraph (B), (B) in paragraph (3), by inserting or (b)(2)(B)(i), as the case may be, after (a)(2)(B)(ii) , (C) in paragraph (5), by striking subsection (a)(2)(B)(ii) and inserting subsections (a)(2)(B)(ii) and (b)(2)(B)(i) , and (D) in paragraph (6), by inserting or inverted domestic corporation, as the case may be, after surrogate foreign corporation . (c) Effective date The amendments made by this section shall apply to taxable years ending after May 8, 2014. VI Miscellaneous provisions 261. Credit for hiring unemployed certified adversely affected workers (a) Inclusion in work opportunity credit Paragraph (1) of section 51(d) of the Internal Revenue Code of 1986 is amended by striking or at the end of subparagraph (I), by striking the period at the end of subparagraph (J) and inserting , or , and by adding at the end the following new subparagraph: (K) a qualified adversely affected energy industry unemployed worker. . (b) Definition of qualified adversely affected energy industry unemployed worker Subsection (d) of section 51 of the Internal Revenue Code of 1986 is amended by adding at the end the following new paragraph: (16) Qualified adversely affected energy industry unemployed worker The term qualified adversely affected energy industry unemployed worker means any individual who— (A) is a certified adversely affected worker under section 202 of the Clean Energy Worker Just Transition Act and whose status as such has not been