adding mocha tests script for npm