Tests refactores using Capybara and Database Cleaner