test(general): convert unit tests format from vows to mocha

* add mocha dependencies
* convert generalCore to mocha
* move default directory tests to mocha's default directory