       @userId = Random.id()
       @countId = Random.id()
 
-      @usersPostsSubscribe = Meteor.subscribe 'users-posts', @userId, expect()
-      @usersPostsCount = Meteor.subscribe 'users-posts-count', @userId, @countId, expect()
+      @usersPostsSubscribe = Meteor.subscribe 'users-posts', @userId,
+        onReady: expect()
+        onError: (error) ->
+          test.exception error
+      @usersPostsCount = Meteor.subscribe 'users-posts-count', @userId, @countId,
+        onReady: expect()
+        onError: (error) ->
+          test.exception error
   ,
     (test, expect) ->
       test.equal Posts.find().fetch(), []

      testSetEqual test, _.pluck(Posts.find().fetch(), '_id'), @posts
      test.equal Counts.findOne(@countId)?.count, @posts.length

      Meteor.subscribe 'posts', @posts, expect()
      @usersPostsSubscribe.stop()

      # Let's wait a but for subscription to really stop

      @userId = Random.id()
      @countId = Random.id()

      @usersPostsSubscribe = Meteor.subscribe 'users-posts', @userId,
        onReady: expect()
        onError: (error) ->
          test.exception error
      @usersPostsCount = Meteor.subscribe 'users-posts-count', @userId, @countId,
        onReady: expect()
        onError: (error) ->
          test.exception error
  ,
    (test, expect) ->
      test.equal Posts.find().fetch(), []
