closes #1052: invalid return statement found in bin/_mocha