added default port state check for the tests