Make tests safer
Add segment shape point getters