Added a test for tracking source and destination segment counts of location entities