             console.log(misc.to_json(server.status()))
         test0(client, server)
 
-exports.test6 = (n=1) ->
+exports.test5 = (n=1) ->
     #
     # Make the documents a mutable version of strings (defined via a class) instead.
     #


    go()
    if DocClass?
        client.live = new DocClass("bar more stuffklajsdf lasdjf lasdj flasdjf lasjdfljas dfaklsdjflkasjd flajsdflkjasdklfj" + misc.uuid())
        server.live = new DocClass("bar lkajsdfllkjasdfl jasdlfj alsdkfjasdfjlkasdjflasjdfkljasdf" + misc.uuid())
    else
        client.live += "more stuffklajsdf lasdjf lasdj flasdjf lasjdfljas dfaklsdjflkasjd flajsdflkjasdklfj" + misc.uuid()
        server.live = 'bar' + server.live + "lkajsdfllkjasdfl jasdlfj alsdkfjas'dfjlkasdjflasjdfkljasdf" + misc.uuid()
    status()
    while not Doc_equal(client.live, server.live)
        status()

                traceback()

    copy      = (s) ->
        return new Doc(s.doc)

    diff      = (v0,v1)  ->
        return dmp.patch_make(v0.doc, v1.doc)

    patch     = (d, doc) -> new Doc(dmp.patch_apply(d, doc.doc)[0])
    checksum  = (s) -> s.doc.length + 3    # +3 for luck
    patch_in_place = (d, s) -> s.doc = dmp.patch_apply(d, s.doc)[0]  # modifies s.doc inside object
