fix barverify, now using assert.deepEqual
Merge pull request #2 from kilianc/master

fix barverify, now using assert.deepEqual