new edges adding works for unittest