Added first mocha test.
A simple method to ceate a REST API.