Added dirichlet test