Sourcemap support for Mocha testing
Enable source maps in errors in all tests; var -> const in some tests