Fix Dirichlet broken links in character tables, add tests and fix test.sh script