test/runall checks for mocha availablilty.
Installs mocha globally, which adds it to the path, if it's not available.