                 context("when resource is not empty") {
 
                     beforeEach {
-                        container = Container(loader: loader, options: Resource.valid)
+                        container = Container(options: Resource.valid)
                     }
 
                     context("and add container plugins from loader") {
 
                         beforeEach {
-                            loader.addExternalPlugins([FakeContainerPlugin.self, AnotherFakeContainerPlugin.self])
-                            container = Container(loader: loader, options: [:])
+                            Loader.shared.addExternalPlugins([FakeContainerPlugin.self, AnotherFakeContainerPlugin.self])
+                            container = Container(options: [:])
                         }
 
                         it("saves plugins on container") {

                context("with a valid resource") {

                    beforeEach {
                        container = Container(loader: loader, options: Resource.valid)
                    }

                    it("creates a container with valid playback") {

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

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

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