PZ create tmp dir if not exists in testing

Currently the rake will fail because tmp directory does not exist after git clone.