added gtest for group class
correction of group constructor + fixed memory leak (delete)