added mocha style test