More code for testing server and client responses