fixes unit test on contactgroups