Buildout and first test for segments.