Add tests for server_port for Capybara 1.x and 2.x