added client / server test and made it pass