lush(function() {
          assert.equal(slider.markers.length, 0);
          done();
        });
      });

      test('max is NaN', function(done) {
        slider.max = NaN;
        flush(function() {
          assert.equal(slider.markers.length, 0);
          done();
        });
      });

      test('max is Infinity', function(done) {
        slider.max = Infinity;
        flush(function() {
          assert.equal(slider.markers.length, 0);
          done();
        });
      });
    });

  </script>

