anchor.diff:  <!-- The template to display files available for upload -->
  +<% fade_class_if_not_test = Rails.env.test? ? '' : 'fade' %>
   <script id="template-upload" type="text/x-tmpl">
   {% for (var i=0, file; file=o.files[i]; i++) { %}
  -    <tr class="template-upload fade">
  +    <tr class="template-upload <%= fade_class_if_not_test %>">
           <td>
               <span class="preview"></span>
           </td>
  
positive.code: <!-- TODO: further consolidate with template-download above -->
  <script id="template-download" type="text/x-tmpl">
  {% for (var i=0, file; file=o.files[i]; i++) { %}
      <tr class="template-download fade">
          <td>
              <span class="preview">
                  {% if (file.thumbnailUrl) { %}
  
negative.code: <!-- The template to display files available for download -->
  <script id="batch-template-download" type="text/x-tmpl">
  {% for (var i=0, file; file=o.files[i]; i++) { %}
      <tr class="template-download <%= fade_class_if_not_test %>">
          <td>
            <div class="row">
              <div class="col-sm-6 name">
  