       slider.min = 0;
        slider.max = 100;
        slider.snap = true;
        slider.step = 4;
        slider.maxMarkers = 10;
        flush(function() {
          assert.equal(slider.markers.length, 10);
          done();
        });
      });

      test('decimal markers', function(done) {
        slider.min = 0;
        slider.max = 0.7;
        slider.snap = true;
        slider.step = 0.1;
        slider.maxMarkers = 10;
        flush(function() {
          assert.equal(slider.markers.length, 7)