resp and capaybara test