client server unit tests