Fixed test error with Capybara being unable to find 'name' element