mocha: first stab at automated headless testing using phantomjs + mocha