[tests] added helper.getCallback method
[tests] converted tests to mocha
[tests] renamed tests dir to `test`

as required by mocha
[package] run mocha as the test script