Changes tests to follow capybara conventions #266.