diff --git a/tests/test.js b/tests/test.js
index <HASH>..<HASH> 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -55,6 +55,12 @@ describe('lessWatchCompilerUtils Module API', function(){
             lessWatchCompilerUtils.config.sourceMap = true;
             assert.equal("lessc --source-map test testFolder/test.css", lessWatchCompilerUtils.compileCSS("test", true));
         });
+        it('should run the correct command with minified flag', function(){
+            lessWatchCompilerUtils.config.outputFolder = "testFolder";
+            lessWatchCompilerUtils.config.minified = true;
+            lessWatchCompilerUtils.config.sourceMap = false;
+            assert.equal("lessc -x test testFolder/test.min.css", lessWatchCompilerUtils.compileCSS("test", true));
+        });
     })
     describe('filterFiles()', function(){
         it('filterFiles() function should be there', function(){
test: Add test for minified flag