TEST: ExtractPort unittests updated