Enforce clearing of localStorage before test run for file-system. Add clear message if `testDirectory` is not a sub-directory of `srcDir`.