fixed some issues with the emulatorBridge tests not cleaning the state of the system
diff --git a/test/emulatorBridge.js b/test/emulatorBridge.js
index 0aa2b6c..53a5407 100644
--- a/test/emulatorBridge.js
+++ b/test/emulatorBridge.js
@@ -60,6 +60,12 @@
         _emulatedDocument.appendChild(_emulatedHtml);
         _emulatedViewport.appendChild(_emulatedDocument);
 
+        spyOn(platform, "current").andReturn({objects: {
+            foo: {a: 1},
+            bar: {b: 1},
+            woot: [1, 2, 3, 4, 5]
+        }});
+
         emulatorBridge.link(_emulatedFrame);
     });
 
@@ -116,16 +122,6 @@
     });
 
     it("it marshals over everything in the sandbox", function () {
-        var sandbox = {
-            foo: {a: 1},
-            bar: {b: 1},
-            woot: [1, 2, 3, 4, 5]
-        };
-
-        spyOn(platform, "current").andReturn({objects: sandbox});
-
-        emulatorBridge.link(_emulatedFrame);
-
         expect(window.foo).toBeDefined();
         expect(window.bar).toBeDefined();
         expect(window.woot).toBeDefined();