Unit test for server
Unit tests for client