with is_log_server enabled and enable_tcp_server enabled and enable_udp_server enabled
reordering of tests & small refactoring