separated client and server tests