Unit tests should be run from the relavnt dir, for example, for detections:

cd detectionTest
./run.sh

Or, you can run all the tests from this dir with

./runAllTests.sh

