add group tests
change method signatures
fix dn comparison