diff --git a/lib/component-hint.js b/lib/component-hint.js
index <HASH>..<HASH> 100755
--- a/lib/component-hint.js
+++ b/lib/component-hint.js
@@ -36,7 +36,7 @@ function loadData(checkPath, cb) {
 			var componentFilename = path.join(checkPath, 'component.json');
 			fs.exists(componentFilename, function (exists) {
 				if (!exists) {
-					return cb(new Error('Component JSON file does not exist: ' + componentFilename));
+					return callback(new Error('Component JSON file does not exist: ' + componentFilename));
 				}
 
 				componentJson = require(componentFilename);
diff --git a/lib/tests/checkFilesExist.js b/lib/tests/checkFilesExist.js
index <HASH>..<HASH> 100644
--- a/lib/tests/checkFilesExist.js
+++ b/lib/tests/checkFilesExist.js
@@ -4,11 +4,13 @@ var async = require('async');
 
 
 /**
+ * This test checks each file type within the component.json file and checks whether or not they
+ * exist.
  * 
- * @param {type} componentPath
- * @param {type} componentData
- * @param {type} options
- * @param {type} cb
+ * @param {String} componentPath
+ * @param {Object} componentData
+ * @param {Object} options
+ * @param {Function} cb
  * @returns {undefined}
  */
 exports.test = function (componentPath, componentData, options, cb) {
Updated some documentation and fixed error with usage of incorrect callback