Fix test_delete_group test by waiting for group to disappear.