Adding testing example using mocha