use mocha framework for testing