[TASK] Use new instead of makeInstance in unit tests