Uncomment code in visualisation.js to run tests.