basicQuery and fullQuery tests passing.

Explicity declare the troublesome variables with default values.
testrunner.sh is modifiable configure port, hostname, motd, and
version.