Ensure process exits with mocha's error/success state

grunt won't register a failure unless the process exits with a non-zero exit code.