test application with APIs and capybara