According to the DMCA, the entity that files a counter notice consents to jurisdiction of the US district court of their residence. If not a resident of the US, jurisdiction is the district where the service provider is located. Once a counter notice is filed, one cannot argue the law doesn't apply because of lack of jurisdiction.
Putting it in the README itself would be a far stronger signal of intentional malfeasance.
In the unit test... it's pretty clear the original developer's intent was simply to pick a video, and chose a trivially popular one (taylor swift), with likely no mind towards copyright (or its avoidance).
That is, the tool happens to be capable of the job, because it simply has purpose to download videos, with no awareness of copyright law.