Fixed and made more robust the Dirichlet character test
Merge pull request #171 from nmascot/Fix_Dirichlet_Test

Fixed and made more robust the Dirichlet character test