tests of callbacks

test lib mocha