Added possibility to pass directories to run-test.