segmentation test cases added