code: function () {
                      var args = [];
                      for (var _i = 0; _i < arguments.length; _i++) {
                          args[_i] = arguments[_i];
                      }
                      this.testCategory = name;
                      return construct(original, args);
                  }
docs: the new constructor behaviour