public void OverwritingTest()
    {
      DropboxLoginHelper.Login(
        (token, secret) =>
        {
          Workspace ws = new Workspace();
          ws.Open("memopad");
          ws.DropBoxToken = token;
          ws.DropBoxSecret = secret;

          StorageIo.WriteTextFile(Workspace.WORKSPACE_BASEPATH + "/memopad/a.txt", "THIS IS MY TEST");
          StorageIo.WriteTextFile(Workspace.WORKSPACE_BASEPATH + "/memopad/b.txt", "THIS IS MY TEST");
          StorageIo.WriteTextFile(Workspace.WORKSPACE_BASEPATH + "/memopad/c.txt", "THIS IS MY TEST");

          DropboxSync sync = new DropboxSync(ws);
          sync.Finished += (x, xe) =>
            {
              base.EnqueueTestComplete();
            };
          sync.Start();

        });
    }
    /// <summary>
    /// Begin sync
    /// </summary>
    void Sync()
    {
      GoToVisualState(VS_SYNC);

      _syncbox.SetSyncInfo(0, 0);
      _syncbox.HideSyncBox();
      _syncbox.UpdateDescription("Prepare synchronization...");

      var sync = new DropboxSync(_vm.Workspace);
      sync.SyncStarted += new EventHandler<DropboxSyncEventArgs>(OnSyncStarted);
      sync.SyncStepped += new EventHandler<DropboxSyncEventArgs>(OnSyncStepped);
      sync.Finished += new EventHandler<DropboxSyncEventArgs>(OnSyncFinished);
      sync.Start();

      _syncbox.ShowSyncBox();
    }