diff --git a/lib/plugins/awsCompileFunctions/tests/awsCompileFunctions.js b/lib/plugins/awsCompileFunctions/tests/awsCompileFunctions.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/awsCompileFunctions/tests/awsCompileFunctions.js
+++ b/lib/plugins/awsCompileFunctions/tests/awsCompileFunctions.js
@@ -79,6 +79,14 @@ describe('awsCompileFunctions', () => {
   });
 
   describe('#compileFunctions()', () => {
+    it('should throw an error if the stage option is not given', () => {
+      expect(() => awsCompileFunctions.compileFunctions()).to.throw(Error);
+    });
+
+    it('should throw an error if the region option is not given', () => {
+      expect(() => awsCompileFunctions.compileFunctions()).to.throw(Error);
+    });
+
     it('should create corresponding function resources', () => {
       const options = { stage: 'dev', region: 'aws_useast1' };
       awsCompileFunctions.compileFunctions(options);
Add tests for option validation

Those tests will be remove later on when the new PluginManager is ready to be merged.