Fix test setup
* create tmp folder if it does not exist