Refactored tunnel starting out from Capybara