add test case and docs for 'puppet_tmpdir' method