             context("when play event is trigger") {
 
                 beforeEach {
-                    loader = Loader()
-                    loader.addExternalPlugins([StubPlayback.self])
-                    container = Container(loader: loader, options: [kSourceUrl: "http://clappr.com/video.mp4"])
+                    Loader.shared.addExternalPlugins([StubPlayback.self])
+                    container = Container(options: [kSourceUrl: "http://clappr.com/video.mp4"])
                 }
 
                 it("reset startAt after first play event") {
 
                     let options = [kSourceUrl: "someUrl", kStartAt: 15.0] as Options
-                    let container = Container(loader: loader, options: options)
+                    let container = Container(options: options)
 
                     expect(container.options[kStartAt] as? TimeInterval) == 15.0
                     expect(container.playback?.startAt) == 15.0

                }

                it("destroy all plugins and clear plugins list") {
                    loader.addExternalPlugins([FakeContainerPlugin.self])
                    let container = Container(loader: loader, options: [:])
                    var countOfDestroyedPlugins = 0

                    container.plugins.forEach { plugin in

                    let source: String = Resource.invalid[kSourceUrl]!

                    beforeEach {
                        container = Container(options: [:])
                    }

                    it("set playback as a 'noop' playback") {
