New tests framework (scalatest); Cartesian tree tests.
Segment tree and tests