     expectStreamEvents(
       ->
         bus = new Bacon.Bus()
-        bus.plug(Bacon.later(20, "lol"))
+        bus.plug(Bacon.later(t(2), "lol"))
         bus.plug(bus.filter((value) => "lol" == value).map(=> "wut"))
-        Bacon.later(40).onValue(=> bus.end())
+        Bacon.later(t(4)).onValue(=> bus.end())
         bus
       ["lol", "wut"])
   it "dispose works with looped streams", ->
     bus = new Bacon.Bus()
-    bus.plug(Bacon.later(20, "lol"))
+    bus.plug(Bacon.later(t(2), "lol"))
     bus.plug(bus.filter((value) => "lol" == value).map(=> "wut"))
     dispose = bus.onValue(=>)
     dispose()

  it "samples property by given interval", ->
    expectStreamEvents(
      ->
        prop = repeat(20, [1, 2]).take(2).toProperty()
        prop.sample(t(30)).take(4)
      [1, 2, 2, 2])
  it "includes all errors", ->
    expectStreamEvents(
      ->
        prop = repeat(20, [1, error(), 2]).take(2).toProperty()
        prop.sample(t(50)).take(2)
      [error(), 1, 2])

describe "Bacon.latestValue(property)()", ->

describe "Bacon.later", ->
  it "should send single event and end", ->
    expectStreamEvents(
      -> Bacon.later(t(1), "lol")
      ["lol"])

describe "Bacon.sequentially", ->
  it "should send given events and end", ->
    expectStreamEvents(
      -> Bacon.sequentially(t(1), ["lol", "wut"])
      ["lol", "wut"])
  it "include error events", ->
    expectStreamEvents(
      -> Bacon.sequentially(t(1), [error(), "lol"])
      [error(), "lol"])

describe "Bacon.interval", ->
  it "repeats single element indefinitely", ->
    expectStreamEvents(
      -> Bacon.interval(t(1), "x").take(3)
      ["x", "x", "x"])

describe "Bacon.fromEventTarget", ->
