fixing api_folders_spec.rb and api_items_spec.rb