Fix minor bugs - make all unit tests happy!

 - Fixed endpoint constructor signature compatibility
 - Handle all three cases of `TorConfig` object state