client-server tests