PZ create tmp dir if not exists
Merge pull request #2 from peterzhao/master

PZ create tmp dir if not exists in testing