add mocha/automated tests
add mocha/automated tests