Made the test scripts create the necessary directories before running.