Working on more complete client testing

Added code to the client self test to do a more complete test of
the server and client. More is needed to be done.