                 hinoki.inject container, (a) ->
             catch error
                 test.equals error.message, "circular dependency a <- a"
+                test.deepEqual container.scope, {}
                 test.done()
 
         'long circular dependency': (test) ->


            hinoki.inject container, (a) ->
                test.equals a, 5
                test.done()

        'exception in factory': (test) ->

                hinoki.inject container, (a) ->
            catch error
                test.equals error.message, "circular dependency a <- b <- c <- d <- e <- f <- a"
                test.deepEqual container.scope, {}
                test.done()

        'one async dependency with success': (test) ->
