added mocha to the project
Added prototype and a test