add new spec for all_connected