Boilerplate demo for unit testing in javascript