Removed most of the need for the doc tests replacing the port by having
the docs reflect the port that's actually used.  This also allows us to
execute the docs on the website in the future.