Added Tests to GroupDaoImpl and some small changes in other classes