           it 'should assign function to key in store', ->
             expect(store[name]).toBe fn
 
+          it 'should call jasmine\'s beforeEach method', ->
+            expect(JasmineStore.instance.beforeEach).toHaveBeenCalled()
+            expect(JasmineStore.instance.beforeEach.calls.count()).toBe 1
+            expect(JasmineStore.instance.beforeEach.calls.argsFor(0)).toMatch beforeEachArgs
+
+          it 'should call jasmine\'s afterEach method', ->
+            expect(JasmineStore.instance.afterEach).toHaveBeenCalled()
+            expect(JasmineStore.instance.afterEach.calls.count()).toBe 1
+            expect(JasmineStore.instance.afterEach.calls.argsFor(0)).toMatch afterEachArgs1
+            expect(JasmineStore.instance.afterEach.calls.argsFor(0)).toMatch afterEachArgs2
+
         describe 'first - plain val, second - function ', ->
 
           beforeEach ->


          it 'should assign proper value to key in store', ->
            expect(store[name]).toEqual 'something'

        describe 'first - function', ->


        expect(subject).toHaveProperties ['is']

      describe '#is', ->
        fn             =
        name           =
        store          =
        factory        =
        afterEachArgs1 =
        afterEachArgs2 =
        beforeEachArgs = undefined

        beforeEach ->
          name    = 'collection'
          store   = {}
          factory = new ContextFactory(name, store, JasmineStore)
          beforeEachArgs = /return eval\("var " \+ prop \+ " = " \+ Store\[prop\] \+ ";"\);/
          afterEachArgs1 = /delete Store\[prop\];/
          afterEachArgs2 = /return eval\("delete " \+ prop \+ ";"\);/

        describe 'first - plain val', ->

