tests/accent.py: reorganize the test structure

This reworks the way the tests are constructed, especially the
language accent tests, such that:

1.  Repeated information is generalized, making it easier to add
    new tests.

2.  The accents are organised in a way that matches the
    `accents-and-dialects.md` file to better show the geographical
    layout of the different accents.