Fixed issue with templates folder not getting deleted after a few tests were run.