mocha test framework sample

Taking the console.log tests at the bottom of widget-base and putting them into a Mocha test framework.