old_contents: module.exports = function (config) {
  	config.set({
  		basePath : '',
  		frameworks: ['jasmine', 'requirejs'],
  //	        files: [
  //			'../lib/**/*.js',
  //			'../test/spec/*.js'
  //	        ],
          exclude: [
  			'lib/requireconfig.js',
  			'test/karma.conf.js'
          ],
  		browsers : ['PhantomJS'],
  		reporters : ['progress', 'spec', 'coverage', 'html'],
  		preprocessors: {
  			'../lib/**/*.js': 'coverage'
  		},
  		coverageReporter: {
  			type : 'text'//,
  			//dir : 'coverage/'
  		},
  		htmlReporter: {
  			outputFile: 'results/unit-tests.html'
  		},
  		singleRun: true,
  		plugins : [
  			'karma-spec-reporter',
  			'karma-phantomjs-launcher',
  			'karma-jasmine',
  			'karma-coverage',
  			'karma-htmlfile-reporter'
  		]
  	});
  };
  
new_contents: module.exports = function (config) {
  	config.set({
  		basePath : '',
  		frameworks: ['jasmine', 'requirejs'],
  //	        files: [
  //			'../lib/**/*.js',
  //			'../test/spec/*.js'
  //	        ],
          exclude: [
  			'lib/requireconfig.js',
  			'test/karma.conf.js'
          ],
  		browsers : ['PhantomJS'],
  		reporters : ['progress', 'spec', 'coverage', 'html'],
  		preprocessors: {
  			'../lib/**/*.js': 'coverage'
  		},
  		coverageReporter: {
  			type : 'text'//,
  			//dir : 'coverage/'
  		},
  		htmlReporter: {
  			outputFile: 'results/unit-tests.html'
  		},
  		singleRun: true,
  		plugins : [
  			'karma-spec-reporter',
  			'karma-phantomjs-launcher',
  			'karma-jasmine',
  			'karma-coverage',
              'karma-htmlfile-reporter',
              'karma-requirejs'
  		]
  	});
  };
  
subject: include requirejs as plugin