#!/usr/bin/env node
require('proof')(1, function(equal) {
    var paxos = require('../../index.js')
    var cluster = new paxos.Cluster([])
    var node = paxos.initializeFromFile('./proposer.json', cluster, function (n) {
        if (n) return n+1
        return 1
    })
    console.log(node)
})

@@ -176,16 +176,24 @@
 File('./
+t/paxos/
 proposer
@@ -203,17 +203,8 @@
 on',
- cluster,
  fun
@@ -269,28 +269,64 @@
  %7D)%0A
+%0A
     
-console.log(node
+equal(node, node.messenger.node, %22Node initialized%22
 )%0A%7D)

Fix init from file test.