Added functionality to update source and destination attributes of a segment when corresponding locations are deleted
Extending the locationDel test a bit