fixed broken capybara test