Refactored capybara test to use a page object for create capsule form