Added simpletest for groups