Added defaut and overridden port number tests.