diff --git a/test/Parser.unittest.js b/test/Parser.unittest.js
index <HASH>..<HASH> 100644
--- a/test/Parser.unittest.js
+++ b/test/Parser.unittest.js
@@ -191,6 +191,13 @@ describe("Parser", () => {
 				ijksub: ["test"]
 			}
 		],
+		"new Foo(...)": [
+			function() {
+				 new xyz("membertest");
+			}, {
+				xyz: ["membertest"]
+			}
+		],
 	};
 
 	Object.keys(testCases).forEach((name) => {
@@ -237,6 +244,11 @@ describe("Parser", () => {
 				testParser.state.expressions.push(expr.name);
 				return true;
 			});
+			testParser.plugin("new xyz", (expr) => {
+				if(!testParser.state.xyz) testParser.state.xyz = [];
+				testParser.state.xyz.push(testParser.parseString(expr.arguments[0]));
+				return true;
+			});
 			const actual = testParser.parse(source);
 			should.strictEqual(typeof actual, "object");
 			actual.should.be.eql(state);
Added unit tests for new Foo (...) parser feature