test case update as port is not always ensured