Examples of how to use Jasmine for unit testing JavaScript code