testing server client interaction