added log server + tests