Created test for auto_reconnect. Allow server to be started under a specific port