updated the testing of group