added test for join command.
dded tests for server.