Fix `getTunnel` and `deleteTunnel`
Add tests