Refactor Organizations edit method and testEdit for OrganizationsControllerTest