Issue #16: Write unit tests for logging server and client