Updated functional and unit tests for hw seg data