add line port verification in testcase