diff --git a/unitTests/unitTestClasses/TestSimulator.m b/unitTests/unitTestClasses/TestSimulator.m
index e2f9a1baa000ff994375c86dfd0b8a28b2db0e0b..a7cc0b2551e72a7d0b6149559fa2c8667050442a 100644
--- a/unitTests/unitTestClasses/TestSimulator.m
+++ b/unitTests/unitTestClasses/TestSimulator.m
@@ -13,7 +13,7 @@ classdef TestSimulator < UnitTest
             
             
             currentPath = fileparts(mfilename('fullpath'));
-            cd(currentPath);
+            addpath(currentPath);