Fixed non-reliable creation of path to test files.