A simple test with mocha-phantomjs, chai and jQuery