Added test cases for port 80 and 443 in basestring