Added unittest for BaseServer.get_control_port