Added (list|dict)_leaving() tests