add --check-leaks to mocha test script