tests now use mocha & chai

test:
 init.js, scan.js & discover.js all use proper test case methods
 but are currently in progress