simple blocking server-client unittest