added temp directory and added location variables for tests and erb

added make_dir method to make and delete a temp directory and file