                 }
 
                 context("when stores a value on sharedData") {
-                    beforeEach {
+                    it("retrieves stored value") {
                         container = ContainerFactory.create(with: Resource.valid)
                         container.sharedData["testKey"] = "testValue"
-                    }
-
-                    it("retrieves stored value") {
+
                         expect(container.sharedData["testKey"] as? String) == "testValue"
                     }
                 }


                it("destroy playback") {
                    container.destroy()
                    expect(container.playback?.view.superview).to(beNil())
                }


            var container: Container!

            describe("#Init") {
                context("with a invalid resource") {
                    it("creates a container with invalid playback") {
                        container = ContainerFactory.create(with: Resource.invalid)

                        container.load(Source.invalid.rawValue)

                        expect(container.playback?.pluginName) == "NoOp"
                    }
                }

                context("with a valid resource") {
                    it("creates a container with valid playback") {
                        Loader.shared.register(playbacks: [AVFoundationPlayback.self])
                        container = ContainerFactory.create(with: Resource.valid)

                        container.load(Source.valid.rawValue)

                        expect(container.playback?.pluginName) == "AVPlayback"
                    }
                }

                context("when resource is not empty") {
                    beforeEach {
                        container = ContainerFactory.create(with: Resource.valid)
                        container.load(Source.valid.rawValue)
