Sample data model and unit testing using mocha