set a mocha test folder and npm test script

I set up test scripts in npm package.json. 

Created a specs/server folder to write specs.