writing out some tdd, returned to mocha in the browser, considering combining server side unit testing with phantomjs testing as well