diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -219,6 +219,8 @@ module.exports = function(grunt) {
   grunt.registerTask('default', ['jshint', 'test']);
 
   // Dummy tasks used for testing
-  grunt.registerTask('aTask', function () {});
+  grunt.registerTask('aTask', function () {
+    console.log('Boom! Running a task!');
+  });
   grunt.registerTask('anotherTask', function () {});
 };
diff --git a/test/githooks_test.js b/test/githooks_test.js
index <HASH>..<HASH> 100644
--- a/test/githooks_test.js
+++ b/test/githooks_test.js
@@ -49,6 +49,16 @@ function addTest(testSuite, testID) {
  */
 exports.githooks = {
 
+  'generatedHookExecution': function (test) {
+
+    test.expect(1);
+    exec(getHookPath('default'), function (err, stdout) {
+
+      test.notEqual(stdout.indexOf('Boom! Running a task!'), -1);
+      test.done();
+    });
+  },
+
   'logs.defaultLogging': function (test) {
 
     test.expect(1);
Added a test actually running the hook and checking its output