fix intermittent build failures (maybe). closes #1407
Merge pull request #1414 from boneskull/mocha-1407

fix intermittent build failures (maybe). closes #1407