Changed file runTests.

Added settings directories and check their existence.