Upgraded HW Seg tests with narrative and unittest module