Added capybara gem for acceptance tests.
Adding acceptance tests (and bugfix) for validar declaracion.