<commit_before>describe('CustomConfig example', function() {

	var exec = require('child_process').exec;

	it('should return return some releases', function() {
		var processReturned = false;
		exec('node ' + __dirname + '/../../../examples/customconfig.js', 
			function assertOutput(err, stdout, stderr) {
				var result;

				expect(err).toBeFalsy();
				expect(stderr).toBeFalsy();
				expect(stdout).toMatch('releases');
				processReturned = true;
		});

		waitsFor(function () {
			return processReturned;
		}, "Timed out waiting for process to return", 5000);
	});

});
<commit_msg>Added test around simpleclient example<commit_after>describe('CustomConfig example', function() {

	var exec = require('child_process').exec;

	it('should return return some releases', function() {
		var processReturned = false;
		exec('node ' + __dirname + '/../../../examples/customconfig.js', 
			function assertOutput(err, stdout, stderr) {
				var result;

				expect(err).toBeFalsy();
				expect(stderr).toBeFalsy();
				expect(stdout).toMatch('releases');
				processReturned = true;
		});

		waitsFor(function () {
			return processReturned;
		}, "Timed out waiting for process to return", 5000);
	});

});

describe('SimpleClient example', function() {

	var exec = require('child_process').exec;

	it('should return return some releases', function() {
		var processReturned = false;
		exec('node ' + __dirname + '/../../../examples/simpleclient.js',
			function assertOutput(err, stdout, stderr) {
				var result;

				expect(err).toBeFalsy();
				expect(stderr).toBeFalsy();
				expect(stdout).toMatch('releases');
				processReturned = true;
		});

		waitsFor(function () {
			return processReturned;
		}, "Timed out waiting for process to return", 5000);
	});

});

{'fraction_non_alphanumeric': 0.1595022624434389, 'fraction_numerical': 0.006787330316742082, 'mean_word_length': 4.0113314447592066, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2960547', 'n_tokens_mistral': 631, 'n_tokens_neox': 522, 'n_words': 124}