Added dry run functionality to check temporary files, added initial test framework and ensured it works