Added port configuration tests