Removed MockSegment.java and replaced with the slice and segment implementations