 
     it 'should reject with a descriptive error given a command which does not yield a result within the timeout', ->
       exampleContext = eventric.context 'Example'
-      exampleContext.addCommandHandler 'DoSomething', ->
+      exampleContext.addCommandHandlers DoSomething: ->
         new Promise (resolve) ->
           setTimeout ->
             resolve()

    it 'should resolve with the result given a query callback which resolves with a result', ->
      queryResult = {}
      exampleContext = eventric.context 'Example'
      exampleContext.addQueryHandler 'getSomething', ->
        new Promise (resolve) -> resolve queryResult
      exampleContext.initialize()
      .then ->

    it 'should reject with an error given a query which rejects with an error', ->
      error = new Error
      exampleContext = eventric.context 'Example'
      exampleContext.addQueryHandlers getSomething: ->
        new Promise (resolve, reject) -> reject error
      exampleContext.initialize()
      .then ->
