fixed test: removal of temp file