Added tests test_check_group_state