Added cleanup function for test root dir.