#7 removed hardcoding of port 9200.  added unit tests against port 9200, 9201, and no port specified