fixed test failing if tmp/ folder did not exist
typo