mocha-fixes: ensure tests only run as part of automated suite, fix jslin...

...t hiccup