This is an example of how to do test first.  Javascript and Jasmine are used as the presentation tools.