Tests are written using Mocha.js and Chai.
Run the tests in a browser by serving up the root folder contents with e.g.:
python -m SimpleHTTPServer
Or any other local web server. (Ahem; https://github.com/rhardih/serve).
Then go to http://localhost:8000/test to run the tests.