More tests for mixed optional segments.