Implementing server, tests