Only execute segments_utils_verify test suite if run as a script
This MR patches the segments_utils_verify.py
test module to only actually create and execute the unittest suite if run as a script. This allows executing the tests in this module using pytest
.