fixed unit-tests for newly generated temp files