smart_segment
tests
