runRoutine = function(done) {
        browser.navigate()
            .to(TEST_SERVER + '/' + testPath)
            .then(function() {
              waitForTest(function(status) {
                expect(status).toBeSuccess();
                done();
              }, function(err) {
                done.fail(err);
              });
            }, function(err) {
              done.fail(err);
            });
      }
Runs the test routines for a given test path.
@param {function()} done The function to run on completion.