fix test. (cannot fetch server port from config file)