Revert "move DataSegmentTest to druid-api"

This reverts commit 18071ecdb9fb54abe43b5f4fbed7019e9260a819.