Add TNS gateway

You could `assert_raise` this.