feat: add tests to ensure that warnings target the correct line
Add a lot of tests to ensure that deprecation warnings target the correct line in the correct file because this is super tricky to check and to code and this end regularly being broken (and we only detect that super late by looking and those warnings in another project)
And indeed, one warning was broken :<