diff --git a/lib/browser.js b/lib/browser.js
index <HASH>..<HASH> 100644
--- a/lib/browser.js
+++ b/lib/browser.js
@@ -1,4 +1,4 @@
-define(['litmus'], function (litmus) {
+define(['litmus', 'formatting'], function (litmus, formatting) {
 
    /**
     * Namespace: litmus.browser - Litmus running in a browser
@@ -17,7 +17,7 @@ define(['litmus'], function (litmus) {
     */
 
     function addToBody (run) {
-        var formatter = new litmus.StaticHtmlFormatter();
+        var formatter = new formatting.StaticHtmlFormatter();
         var element = document.createElement('div');
         element.setAttribute('class', 'litmus-results');
         element.innerHTML = formatter.format(run);
@@ -68,14 +68,19 @@ define(['litmus'], function (litmus) {
 
         for (var i = 0, l = tests.length; i < l; i++) {
             require([tests[i]], function (test) {
-                var run = test.createRun();
-                run.finished.then(function () {
-                    addToBody(run);
-                });
-                run.start();
+                ns.run(test);
             });
         }
     };
 
+    ns.run = function (test) {
+        console.log(test);
+        var run = test.createRun();
+        run.finished.then(function () {
+            addToBody(run);
+        });
+        run.start();
+    }
+
     return ns;
 });
Added dep on formatting module (like commandline). Moved test run logic to run method.