Fix the tests for capybara-webkit 0.13.0