Fix of LocalFileCheckTest. Moved the testdir so that it can get removed correctly.